package com.xsf.spring.cloud.alibaba.consumer.feign.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "nacos-provider")
public interface ProviderFeignClient {
    @RequestMapping("/echo/{str}")
    String echo(@PathVariable("str") String str);
}
